CommonsBooking\Plugin B

Total Complexity 88
Dependencies 31
Dependents 16
Total lines 764
Lines of code 456
Logical lines of code 194
Comment lines 196
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
filterAdminBodyClass()
A
53 10 22
setParentFile()
S
53 7 24
addMenuPages()
S
44 4 50
getTheContent()
S
62 6 11
addRoleCaps()
S
50 4 29
addCustomUserRoles()
S
59 4 15
savePostActions()
S
62 4 11
UpdateNotice()
S
50 2 38
initRoutes()
S
55 3 20
renderError()
S
56 3 19
runTasksAfterUpdate()
S
57 3 16
updateLocationCoordinates()
S
66 4 8
registerItemTaxonomy()
S
58 2 16
registerLocationTaxonomy()
S
58 2 16
AddImageSizes()
S
60 2 15
init()
S
49 1 30
setAdvanceBookingDaysDefault()
S
65 3 8
addCPTRoleCaps()
S
70 3 6
maybeEnableCB1UserFields()
S
70 2 6
registerAdminOptions()
S
69 2 6
registerPostStates()
S
72 2 5
commonsbooking_load_textdomain()
S
64 2 9
registerCustomPostTypes()
S
68 2 7
admin_init()
S
67 2 8
getRoleCapMapping()
S
62 1 13
saveOptionsActions()
S
79 1 3
deactivation()
S
80 1 3
getCustomPostTypesLabels()
S
64 1 10
initBookingcodes()
S
74 1 4
getCBManagerCustomPostTypes()
S
66 1 9
getCustomPostTypes()
S
64 1 10
registerUserWidget()
S
81 1 3
activation()
S
72 1 6